<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8"/>
    <title>用户列表</title>
    <link href="/webjars/bootstrap/3.3.6/css/bootstrap.min.css"
          rel="stylesheet"/>
    <script src="/webjars/jquery/2.2.4/jquery.min.js"></script>
    <script src="/webjars/bootstrap/3.3.6/js/bootstrap.min.js"></script>
</head>
<body>
<div>
    <ul class="nav nav-pills">
        <li class="active"><a href="/wf/user/list">用户列表</a></li>
        <li><a href="/wf/user/save">添加</a></li>
    </ul>
</div>
    <table class="table table-bordered table-hover">
        <thead>
            <tr>
                <th>ID</th>
                <th>用户名</th>
                <th>操作</th>
            </tr>
        </thead>
        <tbody>

            <#list list as user>
            <tr>
                <td>${user['userId']}</td>
                <td>${user['userName']}</td>
                <td><a href="/user/remove/${user['userId']}">删除</a>|
                <a href="/user/update/${user['userId']}">编辑</a></td>
            </tr>
            </#list>
        </tbody>
    </table>
</body>
</html>